export default {
    template:`
        <!-- 头部搜索框 start -->
        <nav class="nav-box">
            <div class="nav-input">
                <input type="text" @focus=" isShowSearch=true " @blur=" isShowSearch=false ">
            </div>
            <div class="nav-btn" v-show="isShowSearch">
                <span>搜索</span>
            </div>
        </nav>
        <!-- 头部搜索框 end -->
    `,
    data() {
        return {
            isShowSearch: false
        }
    },
}